﻿<UserControl x:Class="DBDocumenter.UserControls.UCModalPopup"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    >
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <!--<ResourceDictionary Source="/MenuSOS.UI.WPF.UserControlLib;component/Themes/Default.xaml" />-->
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <Border Background="#90000000" Visibility="{Binding Visibility}">
            <Border BorderBrush="Black" BorderThickness="1"  
					CornerRadius="10,0,10,0" VerticalAlignment="Center"
					HorizontalAlignment="Center">
                <Border.Background>
                    <LinearGradientBrush GradientStops="{DynamicResource ModalPopup_GradientStopCollection}" EndPoint="0.5,1" StartPoint="0.5,0" SpreadMethod="Pad">
                        <!--<GradientStop Color="#FF700000" Offset="0"/>
                        <GradientStop Color="#FF775808" Offset="1"/>-->
                       
                    </LinearGradientBrush>
                </Border.Background>
                <Border.BitmapEffect>
                    <DropShadowBitmapEffect Color="Black" Opacity="0.5" Direction="270" ShadowDepth="0.7" />
                </Border.BitmapEffect>
                <Grid Margin="10" >
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <!--<TextBlock x:Name="MessageTextBlock" Text="{Binding Message}" TextWrapping="Wrap" Margin="5" />-->
                    <StackPanel Orientation="Vertical" >

                        <TextBox x:Name="rtbUserMessage" FontSize="13" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"  MaxWidth="600"  MaxHeight="300" MinHeight="300" MinWidth="600" Margin="10,10,10,10" />
                        <ProgressBar Style="{DynamicResource ProgressBar_Style}" x:Name="pbWait" Height="30" IsIndeterminate="False" Maximum="100" Minimum="0"  />
                        <!--<ProgressBar IsIndeterminate="True" Background="#FF44080B" Foreground="WhiteSmoke" Height="30" />-->
                    </StackPanel>
                </Grid>
            </Border>
        </Border>
    </Grid>
</UserControl>

